<!DOCTYPE html>
<html  lang="zh-CN">
<head>
    <meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
    <meta content=always name=referrer>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="format-detection" content="telephone=no"/>
    <meta name="keywords" content=""/>
    <meta name="description" content=""/>
    <title>高原狼一站式服务平台</title>
    <link rel="stylesheet" type="text/css" href="__STATIC__/interfaces/style.css">
    <script src="__STATIC__/interfaces/jquery-1.8.2.js"></script>
    <style>
        .board {
            width: 100%;
            height: 0px;
            position: absolute;
            background-color: rgba(0, 0, 0, 0.5);
            top: 0px;
            left: 0px;
            z-index: 9;
            overflow: hidden;
        }

        .board1 {
            width: 100%;
            height: 0px;
            position: absolute;
            background: url("/static/shop/download/img/share.png");
            background-size: 100% 130%;
            top: 0px;
            left: 0px;
            z-index: 9;
            overflow: hidden;
        }
        .shade {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            z-index: 9999;
            overflow: hidden;
        }

        .shade img {
            width: 100%;
        }
    </style>
</head>
<body>
<div class="wrap" >
    <!--<header>-->
        <!--<a href="#"><img src="__STATIC__/interfaces/back.png" class="back"></a>-->
        <!--<span class="title">商家入驻</span>-->
    <!--</header>-->
    <div class="main" style="height: 100%;">
        <img src="/sjrz.png" class="content">
        <!--<div class="join"><input type="submit" value="我要加入"></div>-->
    </div>
    <!--<div class="main">-->
        <!--<img src="__STATIC__/interfaces/pic2.png" class="content">-->
    <!--</div>-->
    <!--<div class="main">-->
        <!--<img src="__STATIC__/interfaces/pic3.png" class="content">-->
    <!--</div>-->
    <!--<div class="main">-->
        <!--<img src="__STATIC__/interfaces/pic4.png" class="content">-->
    <!--</div>-->
    <!--<div class="download">-->
        <!--<input type="submit" value="下载商家端，立即入驻" onclick="openBusiness();">-->
    <!--</div>-->
</div>
<div class="board"></div>
<div class="board1"></div>
<div id="shade" class="shade" style="display: none">
    <img src="/static/shop/download/img/share.png" alt="">
</div>
</body>
<script>
    $(function () {
        var mm = window.screen.height;
        $("#aa").css('height', mm);
    });

    $(".close").click(
            function () {
                $(".share").css({display: "none"})
            }
    );

    function showdiv(targetid) {

        var target = document.getElementById('shade');

        if (target.style.display == "none") {
            target.style.display = "block";
            document.documentElement.ontouchmove = function () {
                return false;
            };
        } else {
            document.documentElement.ontouchmove = function () {
                return true;
            };
            target.style.display = "none";
        }
    }
    function openBusiness() {
        var ua = window.navigator.userAgent.toLowerCase();

        if (ua.match(/MicroMessenger/i) == 'micromessenger') {
            showdiv(shade);
        } else {
            var u = navigator.userAgent;
            var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端
            var isiOS = !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/); //ios终端

            // 通过iframe的方式试图打开APP，如果能正常打开，会直接切换到APP，并自动阻止js其他行为
            if (isAndroid) {
                var ifr = document.createElement('iframe');
                ifr.src = 'com.lc.distributionShop://my.app/openwith';//打开app的协议，有app同事提供
                ifr.style.display = 'none';
                document.body.appendChild(ifr);
                console.log(ifr);
                window.setTimeout(function () {
                    document.body.removeChild(ifr);
                    window.location.href = "http://a.app.qq.com/o/simple.jsp?pkgname=com.lc.distribution.shop";//打开app下载地址，有app同事提供
                }, 2000)
            } else if (isiOS) {
                var ifr = document.createElement('iframe');
                ifr.src = 'com.lc.distribution://my.app/openwith' ;//打开app的协议，有app同事提供
                ifr.style.display = 'none';
                document.body.appendChild(ifr);
                console.log(ifr);
                window.setTimeout(function () {
                    document.body.removeChild(ifr);
                    window.location.href = "https://www.pgyer.com/2s65";//打开app下载地址，有app同事提供
                }, 2000)
            }
        }
    }
</script>
</html>